package com.mk.Mapper;


import com.mk.Entity.Tag;
import com.mk.Entity.queryObject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TagMapper {

    List<Tag> selectAll();
    List<Tag> selectAllLimit(queryObject queryObject);
    List<Tag> selectBlogTag(Long bid);
    List<Tag> selectByList(@Param("ids") List<Long> ids);
    void insert(Tag tag);
    void delete(Long id);
    void update(Tag tag);
    Integer selectCount();
}
